/**
 * 
 */
package com.newtribe.access.context;

import java.net.Socket;

/**
 * @author newtribe
 *
 */
public class NetChannel {
	
	public NetChannel(Socket socket) {
		this.socket =socket;
	}
	public NetChannel(){
		
	}
	
	public static int STATUS_CONNECTING =1 ;
	
	public static int STATUS_OK =2 ;

	public static int STATUS_INTERRUPT =4 ;
	
	private Socket socket =null ;


	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}
	
	public int getConnectionStatus() {
		return STATUS_OK;
	}
	
	public Socket getSocket() {
		
		return this.socket ;
		
	}
	
	public void setSocket() {
		this.socket =socket ;
	}

}
